mysql_backup_by_db.sh

#!/bin/bash read -e -p “Type host for backup, followed by [ENTER]: ” -i “127.0.0.1” host read -e -p “Type username for $host, followed by [ENTER]: ” -i “root” user read -e -p “Type password for $user, followed by [ENTER]: ” -i “” passwd read -e -p “Database which should be backuped [ENTER]: ” -i “all” … Continue reading mysql_backup_by_db.sh